package fauxman.StaticElements;

import java.awt.Color;
import java.awt.Graphics;
import java.awt.Rectangle;

import fauxman.Enums.GameElementName;
import fauxman.interfaces.GameElement;

public class PlayableArea extends GameElement{
	public PlayableArea(int x, int y, int width, int height){
		this(new Rectangle(x, y, width, height));
		
	}
	

	public PlayableArea(Rectangle rec) {
		this.conHitbox = rec;
		this.gNum = GameElementName.PLAYABLE_AREA;
	}

	public void draw(Graphics g){
		g.setColor(Color.RED);
		g.fillRect((int)conHitbox.getX(),(int)conHitbox.getY(),(int)conHitbox.getWidth(),(int)conHitbox.getHeight());
	}
	
	public String toString(){
		return "pa";
	}
}
